<extend name="Common@Layout:hui-admin" />
<block name="title"><title>Administator管理后台</title></block>
<block name="style">
</block>

<block name="main">
	<nav class="breadcrumb">
		<i class="Hui-iconfont"></i>
		 首页 <span class="c-gray en">&gt;</span>
		 管理员管理 <span class="c-gray en">&gt;</span>  
		重置密码
		<a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a>
	</nav>
	
	<div class="pd-20">
		<form action="{:U('resetpwd_post')}" method="post" class="form form-horizontal validator_form close-dialog">
			<div class="row cl">
				<label class="form-label col-2"><span class="c-red">*</span>原密码：</label>
				<div class="formControls col-4">
					<input type="password" class="input-text" value="" placeholder="" name="oldpassword" data-rule="原密码:required;password;remote[/users/adminsadmin/checkoldpwd]">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2"><span class="c-red">*</span>新密码：</label>
				<div class="formControls col-4">
					<input type="password" class="input-text" value="" placeholder="" name="password" data-rule="新密码:required;password;">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2"><span class="c-red">*</span>确定密码：</label>
				<div class="formControls col-4">
					<input type="password" class="input-text" value="" placeholder="" data-rule="确认密码: required;match(password);">
				</div>
			</div>
			<div class="row cl">
				<div class="col-10 col-offset-2">
					<button type="submit" style="width:200px;" class="btn btn-success radius" id="admin-role-save" name="admin-role-save"><i class="icon-ok"></i> 确定</button>
				</div>
			</div>
		</form>
	</div>
</block>

<block name="script">
</block>